package com.sms.plateform.kernel.dao.impl;

import java.util.List;
import java.util.Map;

import com.sms.plateform.kernel.dao.impl.BaseDaoImpl;
import com.sms.plateform.kernel.dao.IMenuInfoDao;
import com.sms.plateform.kernel.entity.MenuInfo;

public class MenuInfoDaoImpl extends BaseDaoImpl<MenuInfo> implements IMenuInfoDao {
	@SuppressWarnings("unchecked")
	public List<MenuInfo> listMenuRoleInfoByRidAndParentCode(Map<String, Object> param){
		return this.getSqlMapClientTemplate().queryForList("listMenuRoleInfoByRidAndParentCode",param);
	}

	public List<Map<String, Object>> getTopMenu(Map<String, Object> param) {
		return this.getSqlMapClientTemplate().queryForList("getTopMenu",param);
	}
}
